package com.wms.ymcc.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author : 阿盛哟
 * @description :  登录传入参数
 * @createDate : 2025/5/31 9:03
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class LoginDto {

     @NotEmpty(message =  "用户名不能为空")
     private String username;
     @NotEmpty(message =  "密码不能为空")
     private String password;
     @NotNull(message =  "用户类型不能为空")
     private Integer type;
}